//
import instance from '@/utils/axios.js'

//登录
function userLogin ({ username, password }) {
  return instance({
    url: '/admin/user/login',
    method: 'post',
    data: { username, password }
  })
}

export { userLogin }
